<template>
  <div class="loader"></div>
</template>

<script>
export default {

  name: 'XydSpin',

  data() {
    return {

    };
  }
};
</script>

<style lang="css" scoped>
.loader {
  display: inline-block;
  width: 45px;
  height: 45px;
  margin: auto;
  padding: 0px;
  border-radius: 100%;
  border: 5px solid;
  border-top-color: #00A2EA;
  border-bottom-color: rgba(0, 0, 0, 0.1);
  border-left-color: #00A2EA;
  border-right-color: rgba(0, 0, 0, 0.1);
  -webkit-animation: loader 1s ease-in-out infinite;
  animation: loader 1s ease-in-out infinite;
}
@keyframes loader {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
@-webkit-keyframes loader {
  from {
    -webkit-transform: rotate(0deg);
  }
  to {
    -webkit-transform: rotate(360deg);
  }
}
</style>
